import { PdfJs, PluginOnTextLayerRender, SpecialZoomLevel } from "../../core";

import Match from "./Match";

export default interface StoreProps {
  doc?: PdfJs.PdfDocument;
  keyword?: RegExp[];
  match?: Match;
  renderStatus: Map<number, PluginOnTextLayerRender>;
  jumpToDestination?(
    pageIndex: number,
    bottomOffset: number,
    leftOffset: number,
    scaleTo: number | SpecialZoomLevel
  ): void;
  jumpToPage?(pageIndex: number): void;
}
